package com.zy.dp.state.example4;

public class Client
{
	public static void main(String[] args)
	{
		LeaveRequestModel lrm = new LeaveRequestModel();
		lrm.setUser("小李");
		lrm.setBeginDate("2010-02-08");
		lrm.setLeaveDays(5);

		LeaveRequestContext request = new LeaveRequestContext();

		request.setBusinessVO(lrm);

		request.setState(new ProjectManagerState());

		request.doWork();
	}
}
